package com.example.demo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * Created with IntelliJ IDEA.
 * Description: 评论实体类
 */
@Data
public class Commentinfo implements Serializable {
    private Integer id;
    private Integer parent_id;
    private Integer content_id;
    private Integer user_id;
    private Integer parent_user_id;
    private String comment_details;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT + 8")
    private LocalDateTime comment_date;
    private Integer comment_flag;
    private Integer comment_level;
    private Integer status;
    private Integer child_status;
    private Integer comment_like;
}
